import http from '../http/request'

interface ILoginProps {
    username: string,
    password: string
}

// 用户登录
function userLogin(params: ILoginProps) {
    return http.post('/api/login', {
        ...params
    })
}

export {
    userLogin
}